﻿<?php defined('_JEXEC') or die('Restricted access'); ?>
<form action="index.php" method="post" name="adminForm">
<div id="editcell">
    <table class="adminlist">
    <thead>
        <tr>
            
            <th>
                <?php echo JText::_( 'Kalenterin nimi' ); ?>
            </th>
			<th>
                <?php echo JText::_( 'Kalenteriryhmä' ); ?>
            </th>
			<th>
                <?php echo JText::_( 'Julkinen' ); ?>
            </th>
			<th>
                <?php echo JText::_( 'Vain luku' ); ?>
            </th>
			<th width="5">
                <?php echo JText::_( 'ID' ); ?>
            </th>
        </tr>            
    </thead>
    <?php
    $k = 0;
    foreach ($this->items as &$row)
    {
        ?>
        <tr class="<?php echo "row$k"; ?>">
           
            <td>
                <?php echo $row->nimi; ?>
            </td>
			<td>
                <?php echo $row->julkinen; ?>
            </td>
			<td>
                <?php echo $row->readonly; ?>
            </td>
			 <td>
                <?php echo $row->id; ?>
            </td>
        </tr>
        <?php
        $k = 1 - $k;
    }
    ?>
    </table>
</div>
 
<input type="hidden" name="option" value="com_eventcalendar" />
<input type="hidden" name="task" value="save" />

<input type="hidden" name="controller" value="eventcalendar" />
 
</form>
